home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 697 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  832 b 

  1. Path: crl.crl.com!not-for-mail
  2. From: bobfry@crl.com (Robert Fry)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: how do i...
  5. Date: 8 Jan 1996 08:59:21 -0800
  6. Organization: CRL Dialup Internet Access
  7. Message-ID: <4crih9$5g@crl.crl.com>
  8. References: <4cl4ja$558@news-e2a.gnn.com>
  9. NNTP-Posting-Host: crl.com
  10.  
  11. MrBurns@gnn.com (Kevin Kalstein) writes:
  12.  
  13. >...  basically
  14. >what im looking for is a command that will let me do the dos
  15. >equivalent of "dir *.adr".
  16.  
  17. First off, C doesn't know anything about the directory structure of your 
  18. hard disk or of file names. However, your operating system does, and the 
  19. kind folks on comp.os.msdos.programmer could no doubt help you find what 
  20. you`re looking for, assuming you can't find documentation for a function 
  21. whose name is something like dos_findfirst(). Under MicroSoft's C, it 
  22. will do what you want.
  23.